<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>添加栏目</title>
</head>
<body>

    <form action="/web/add/" method="post">
        {% csrf_token %}
        栏目名称: <input type="text" name="name"> <br/>
        栏目类型: <select name="type">
                    <option value="0">导航栏目</option>
                    <option value="1">文章列表栏目</option>
                    <option value="2">内容栏目</option>
                    <option value="3">图片栏目</option>
                    <option value="4">超链接栏目</option>
                </select> <br>
        栏目地址: <input type="text" name="href"><br>
        是否是导航栏目: <input type="radio" name="is_nav" value="True">是 <input checked type="radio" name="is_nav" value="False">否 <br>
        是否是首页新闻: <input type="radio" name="is_index" value="True">是 <input checked type="radio" name="is_index" value="False">否 <br>
        排序号: <input type="text" name="orders"> <br>
        <input type="submit" value="添加栏目">
    </form>
</body>
</html>